<script setup>
import { ref } from "vue"
const emit = defineEmits(['fn'])
const m = ref(999)
const fn = ()=>{emit('ffn','000')}
defineProps({
    p: String
})
</script>
<template>
    <div>
        <p>{{m}}</p>
        <p>{{p}}</p>
        <p @click="fn"> 按</p>
    </div>
</template>
<style lang="scss" scoped>

</style>
        